<% if (props.language === "typescript") { %>
import { GluegunToolbox } from 'gluegun'
<% } %>

// add your CLI-specific functionality here, which will then be accessible
// to your commands
module.exports = <%= (props.language === "typescript") ? "(toolbox: GluegunToolbox)" : "toolbox" %> => {
  toolbox.foo = () => {
    toolbox.print.info('called foo extension')
  }

  // enable this if you want to read configuration in from
  // the current folder's package.json (in a "<%= props.name %>" property),
  // <%= props.name %>.config.json, etc.
  // toolbox.config = {
  //   ...toolbox.config,
  //   ...toolbox.config.loadConfig("<%= props.name %>", process.cwd())
  // }
}
